package com.isunland.managesystem.ui;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.LinearLayout.LayoutParams;
import com.isunland.managesystem.R;
import com.isunland.managesystem.base.BaseFragment;
import com.isunland.managesystem.widget.GestureImageView;

public class GuideImageFragment extends BaseFragment {
  @Override public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
  }

  @Override public View onCreateView(LayoutInflater inflater, ViewGroup container,
      Bundle savedInstanceState) {

    View v = inflater.inflate(R.layout.fragment_image, container, false);
    GestureImageView iv = (GestureImageView) v.findViewById(R.id.iv_gesture);
    iv.setLayoutParams(new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT));
    //iv.setStartingScale(2.0f);
    //		iv.setScaleType(ScaleType.CENTER_CROP);
    iv.setImageResource(R.drawable.wj_user_guide);
    return v;
  }
}
